package com.cloud.logger.zchain.zchainserver.base;

/**
 * @Author: wcy
 * @Description:
 * @Date: Created in 2017/12/4 17:58
 * @Modified By:
 */
public class GlobalConstants {
    //0代表不是leader 1代表被选举成leader
    public static final int ZCHAIN_SERVER_IS_LEADER = 0;

    //有效时间
    public static String VALID_TIME = "validTime";

    public static String CREATE_TIME ="createTime";

    //cookie NAME
    public static String COOKIE_NAME = "token";

    //用户id
    public static String ID = "id";

    //用户类型
    public static String USER_STATUS = "status";
}